interface baseForm {
  code: number;
  message: string;
  ok: boolean;
}

interface spuSaleAttrValueForm {
  saleAttrName: string;
}

type spuSaleAttrValueListForm = spuSaleAttrValueForm[];

interface spuSaleAttrForm {
  saleAttrName: string;
  spuSaleAttrValueList: spuSaleAttrValueListForm;
}

type spuSaleAttrListForm = spuSaleAttrForm[];

export interface SpuInfoDataForm {
  category3Id: number | string;
  description: string;
  spuImageList: spuImageListForm;
  spuName: string;
  spuSaleAttrList: spuSaleAttrListForm;
  imgFileList: Object;
}
interface spuImageForm {
  imgName: string;
  imgUrl: string;
  spuId: number;
}
type spuImageListForm = spuImageForm[];

export interface SpuInfoResponseForm extends baseForm {
  data: SpuInfoDataForm;
}
